/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public interface Stack <E>{
    public E pop() throws StackUnderflow;
    public void push(E item) throws StackOverflow;
    public E peek() throws StackUnderflow;
    public int getIndex();
    public boolean getEmpty();
}
